package org.jeecg.common.util.p000a.p001a;

import com.alibaba.fastjson.JSONObject;
import java.util.HashMap;
import java.util.Map;
import org.jeecg.common.util.p000a.CommonProperty;

/* renamed from: org.jeecg.common.util.a.a.b */
/* loaded from: hibernate-re-3.7.1-RC.jar:org/jeecg/common/util/a/a/b.class */
public class HiddenProperty extends CommonProperty {

    /* renamed from: m */
    private static final long f8m = -8939298551502162479L;

    public HiddenProperty() {
    }

    public HiddenProperty(String str, String str2) {
        this.type = "string";
        this.view = "hidden";
        this.key = str;
        this.title = str2;
    }

    @Override // org.jeecg.common.util.p000a.CommonProperty
    public Map<String, Object> getPropertyJson() {
        HashMap hashMap = new HashMap(5);
        hashMap.put("key", getKey());
        JSONObject commonJson = getCommonJson();
        commonJson.put("hidden", true);
        if (super.getPattern() != null) {
            commonJson.put("pattern", super.getPattern());
        }
        if (super.getErrorInfo() != null) {
            commonJson.put("errorInfo", super.getErrorInfo());
        }
        hashMap.put("prop", commonJson);
        return hashMap;
    }
}
